Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAGETWO-61828: Text swatch "zero" not shown #7743

Merged
merged 1 commit into from
Mar 16, 2017
Merged

MAGETWO-61828: Text swatch "zero" not shown #7743

merged 1 commit into from
Mar 16, 2017

Conversation

orozcodiaz
Copy link
Contributor

@orozcodiaz orozcodiaz commented Dec 9, 2016

When you create text swatch with value "0" (zero) it won't render cause comparison in /module-swatches/Helper/Data.php was wrong. Right way to check value there should be:

elseif ($item['store_id'] == $currentStoreId && $item['value'] != '')

instead of:

elseif ($item['store_id'] == $currentStoreId && $item['value'])

@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Dec 9, 2016

CLA assistant check
All committers have signed the CLA.

@vrann vrann self-assigned this Mar 15, 2017
@vrann vrann added this to the March 2017 milestone Mar 15, 2017
@magento-team magento-team merged commit fe1f062 into magento:develop Mar 16, 2017
@okorshenko
Copy link
Contributor

@oroskodias thank you for your contribution

@orozcodiaz orozcodiaz deleted the feature/MAGETWO-61828 branch April 13, 2018 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants